package cn.com.surker.enums.system;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2021年12月13 14:50
 * @desc 推送消息订阅类型
 */
public enum SubscribeEnum implements IDescription {

    GROUP_PRODUCTION(0, "集团生产日报"),PRODUCTION(4,"生产日报"),
    SALE(1,"销售日报"),GROUP_SALE(5, "集团销售日报"),
    PURCHASE(2,"原材进料日报"),GROUP_PURCHASE(6, "集团进料日报"),
    CONSUME(3,"原材消耗日报"),GROUP_CONSUME(7, "集团消耗日报"),
    GROUP_MONTH_PRODUCTION(8, "集团生产月报"),MONTH_PRODUCTION(9,"生产月报"),
    MONTH_SALE(10,"销售月报"),GROUP_MONTH_SALE(11, "集团销售月报"),
    MONTH_PURCHASE(12,"原材进料月报"),GROUP_MONTH_PURCHASE(13, "集团进料月报"),
    MONTH_CONSUME(14,"原材消耗月报"),GROUP_MONTH_CONSUME(15, "集团消耗月报"),
    GPS_WARING(21, "GPS预警"),DRIVER_WORK(22, "司机下班申请"),
    STERE_WARING(23, "方量不足预警"), WECHAT_ORDER_DISPATCH_EXAMINE(24,"调度审核通知"),
    PLAN_TASK(25, "生产计划通知"),EXPEND_WARING(26, "建研配比预警"),
    GROUP_PAYMENT(27, "集团付款日报"),PAYMENT(28, "付款日报"),
    GROUP_AUXILIARY(29, "集团辅材"),AUXILIARY(30, "辅材"),
    GROUP_YEAR(31, "集团年报"),ORG_YEAR(32, "公司年报");

    private final String description;

    private final Integer code;

    SubscribeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
